package com.lyc.service;

import com.lyc.beans.User;

import java.util.List;

public interface UserService {
    List<User> getUser();

    //获取用户
    User getUserByAccount(String account);

    boolean checkUserByAccount(String account);

    //添加用户
    void addUser(User user);

    //登录判断
    boolean login(User user);
}
